39. Changing the Number of Features

Changing the Number of Features

Question:

go into ../tools/email_preprocess.py, and find the line of code that looks like this:

selector = SelectPercentile(f_classif, percentile=10)

Change percentile from 10 to 1, and rerun dt_author_id.py.
What’s the number of features now?

Start Quiz: